package com.java2207.group1.service;

import com.java2207.group1.bo.EquipmentsBo;
import com.java2207.group1.common.LayuiPageVo;
import com.java2207.group1.pojo.Equipments;
import com.java2207.group1.vo.equipment.BarVo;

import com.java2207.group1.vo.equipments.PieVo;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

public interface EquipmentsService {
    LayuiPageVo<Equipments> equipmentList(@RequestParam Map<String, Object> params);

    int updateEquipment(Equipments equipment);

    int addEquipment(Equipments equipments);

    int deleteEquipment(int id);

    List<BarVo> selectEchart();

    List<PieVo> selectPie();

    List<EquipmentsBo> equipmentsExcelData(Equipments equipments);
}
